.div {
  transition: 500ms;
}
.entering,
.entered {
  opacity: 1;
}
.exiting,
.exited {
  opacity: 0;
}
